@charset "utf-8";
@import "compass/reset";
html,body{
    height: 100%;
    -webkit-user-select: element;
}
*{transition-timing-function: ease-in-out;}
a{
    text-decoration: none;
}
a,button,input{-webkit-tap-highlight-color:rgba(255,0,0,0);outline: none;}
.f_l { float:left; }
.f_r { float:right; }
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}
.hide{
    display: none;
}
img{
    vertical-align: top;
    max-width: 100%;
}
body{
    position: relative;
    width: 640px;
    margin: 0 auto;
    font-size: 24px;
    -webkit-overflow-scrolling: touch;
    font-size: 24px;
    color: #939393;
    background: #000;
    font-family: "Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
}
#loading{
    height: 100%;
    width: 100%;
    background: #000000;
    padding-top: 343px;
    padding-bottom: 1px;
    box-sizing: border-box;
    color: #fff;
    .animated{
        width: 259px;
        height: 243px;
        margin: 0 auto;
        background:url(../img/animate.png) no-repeat;
        -webkit-animation:run 350ms steps(2) infinite 0s;
    }
    .progress-bar{
        width: 220px;
        overflow: hidden;
        height: 14px;
        border-radius: 14px;
        margin: 0 auto;
        background: -webkit-linear-gradient(#263134, #222228);
    }
    .progress{
        height: 14px;
        width: 0;
        background: url(../img/progress.png) repeat-x;
    }
    .txt{
        font-size: 24px;
        color: #fff;
        margin: 10px 0;
        text-align: center;
    }
}
@-webkit-keyframes run {
    100% {
       background-position:0 -486px;
    }

}
#wrap{
    box-sizing: border-box;
    width: 640px;
    height: 100%;
    min-height: 1008px;
    display: none;
}
.page{
    display: none;
    min-height: 1008px;
    background: #f0efef;
}
.page-3{
    //display: block;
}
.page-1{
    display: block;
    padding-top: 63px;
    box-sizing: border-box;
    text-align: center;
    .poster{
        position: relative;
    }
    .img-box{
        width: 562px;
        background: #fff;
        position: relative;
        margin: 0 auto;
        border-radius: 15px;
        padding: 12px 12px 100px;
        box-sizing: border-box;
        box-shadow:0 0 1px 2px rgba(155,155,155,.1);
        z-index: 2;
        .content{
            overflow: hidden;
            position: relative;
        }
        img{
            max-width: 100%;
        }
    }
    .mask{
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0,0,0,.5);
        z-index: 1;
    }
    .txt{
        position: absolute;
        z-index: 2;
        font-size: 24px;
        color: #fff;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        display:-webkit-box;
        -webkit-box-align: center;
        -webkit-box-pack: center;
        text-align: center;
        line-height: 40px;
    }
    .shade{
        position: absolute;
        z-index: 1;
        bottom: -27px;
        left: 0;
        width: 640px;
        height: 59px;
        background: url(../img/shade.png) center top no-repeat;
    }
    .by{
        text-align: right;
        font-size: 20px;
        color: #282828;
        line-height: 20px;
        margin-top: 30px;
    }
    .create{
        display: inline-block;
        width: 372px;
        height: 93px;
        margin-top: 80px;
        background: url(../img/btn-zz.png) no-repeat;
    }
}
.container{
    display: block;
}
.page-2{
    text-align: center;
    .img-box{
        width: 640px;
        height: 640px;
        overflow: hidden;
        position: relative;
        display:-webkit-box;
        -webkit-box-align: center;
        -webkit-box-pack: center;
    }
    img{
        max-width: 100%;
        position: absolute;
        left: 0;
        top: 0;
    }
    .mask{
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0,0,0,.5);
        z-index: 1;
    }
    .txt{
        color: rgba(255,255,255,.8);
        position: relative;
        z-index: 2;
        font-size: 30px;
        width: 100%;
        text-align: center;
        line-height: 45px;
        padding: 0 100px;
        //width: 544px;
        box-sizing: border-box;
        border: 0;
        outline: 0;
        background: transparent;
        resize: none;
        word-wrap: break-word;
        word-break: break-all;
        max-height: 270px;
        overflow: hidden;
    }
    .submit{
        margin-top: 75px;
        display: inline-block;
        width: 416px;
        height: 170px;
        background: url(../img/submit.png) no-repeat;
    }
    .change{
        position: absolute;
        padding-top: 56px;
        background: url(../img/refresh.png) center top no-repeat;
        right: 10px;
        bottom: 20px;
        font-size: 24px;
        color: #f0bb25;
        z-index: 2;
    }
}
.layermbox{
    .layermchild{
        max-width: 584px !important;
        min-width: 584px !important;
        height: 920px;
        border-radius: 15px !important;
    }
    .layermcont{
        padding: 27px 24px;
    }
}
#result-box{
    .title{
        font-size: 30px;
        padding-top: 76px;
        line-height: 30px;
        color: #f0bb25;
        margin-bottom: 40px;
        background: url(../img/icon-complete.png) center top no-repeat;
    }
    img{
        max-width: 100%;
    }
    .tips{
        font-size: 20px;
        line-height: 20px;
        color: #797979;
        margin-top: 12px;
        margin-bottom: 50px;
    }
    .btn-group{
        font-size: 0;
        a{
            display: inline-block;
            width: 98px;
            height: 98px;
            vertical-align: top;
        }
    }
    .others{
        margin-right: 193px;
        background: url(../img/btn-1.png) no-repeat;
    }
    .my{
        background: url(../img/btn-2.png) no-repeat;
    }
}
#footer{
    position: fixed;
    width: 640px;
    height: 76px;
    background: #040606;
    left: 50%;
    bottom: 0;
    margin-left: -320px;
    padding: 0 44px;
    box-sizing: border-box;
    z-index: 2;
    display: none;
    a{
        float: left;
        display: inline-block;
        width: 184px;
        text-align: center;
        color: #fff;
        font-size: 24px;
        &.cur{
            color: #f0bb25;
        }
        &:nth-child(1){
            padding-top: 43px;
            background: url(../img/nav-1.png) center 10px no-repeat;
            &.cur{
                background: url(../img/nav-1-active.png)center 10px no-repeat;
            }
        }
        &:nth-child(2){
            height: 150px;
            position: relative;
            bottom: 83px;
            padding-top: 126px;
            background: url(../img/nav-2.png) center 10px no-repeat;
        }
        &:nth-child(3){
            padding-top: 43px;
            background: url(../img/nav-3.png) center 10px no-repeat;
            &.cur{
                background: url(../img/nav-3-active.png)center 10px no-repeat;
            }
        }
    }
    .hidden{
        visibility: hidden;
    }
}
.list-page{
    padding-bottom: 150px;
    box-sizing: border-box;
    ul{
        padding-top: 25px;
    }
    .header{
        height: 60px;
        line-height: 60px;
        width: 562px;
        margin: 0 auto 25px;
        img{
            height: 60px;
            width: 60px;
            border-radius: 50%;
            margin-right: 18px;
        }
        .nickname{
            float: left;
            color: #f0bb25;
            font-size: 28px;
        }
        .pubdate{
            float: right;
            font-size: 24px;
            color: rgba(0,0,0,.3);
        }
    }
    li{
        position: relative;
        z-index: 1;
        margin-bottom: 25px;
    }
    .img-box{
        width: 562px;
        background: #fff;
        position: relative;
        margin: 0 auto;
        border-radius: 15px;
        padding: 12px 12px 28px;
        box-sizing: border-box;
        box-shadow:0 0 1px 2px rgba(155,155,155,.1);
        z-index: 2;
        img{
            max-width: 100%;
            margin-bottom: 36px;
        }
    }
    .shade{
        position: absolute;
        z-index: 1;
        bottom: -27px;
        left: 0;
        width: 640px;
        height: 59px;
        background: url(../img/shade.png) center top no-repeat;
    }
    .footer{
        font-size: 22px;
        height: 24px;
        line-height: 24px;
        text-align: right;
    }
    .zan{
        padding-left: 37px;
        margin-right: 20px;
        cursor: pointer;
        background: url(../img/icon-heart.png) 0 -24px no-repeat;
        &.active{
            background-position: 0 1px;
        }
    }
    .biaobai{
        cursor: pointer;
        padding-left: 36px;
        background: url(../img/icon-share.png) 0 center no-repeat;
    }
    .more{
        display: block;
        visibility: hidden;
        margin: 0 auto;
        &.show{
            display: block !important;
            visibility: visible;
        }
    }
    .loaded{
        font-size: 24px;
        text-align: center;
        margin: 50px 0 0;
        display: none;
    }
}
.share-box{
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -320px;
    height: 100%;
    width: 640px;
    background: rgba(0,0,0,.7);
    z-index: 10;
    text-align: right;
    display: none;
    img{
        margin-right: 40px;
    }
}

.waiting-box{
    position: fixed;
    top: 0;
    left: 50%;
    margin-left: -320px;
    height: 100%;
    width: 640px;
    background: rgba(0,0,0,.7);
    z-index: 10;
    text-align: right;
    display: none;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    text-align: center;
    .animated{
        width: 259px;
        height: 243px;
        margin: 0 auto;
        background:url(../img/animate.png) no-repeat;
        -webkit-animation:run 350ms steps(2) infinite 0s;
    }
    &.show{
        display: -webkit-box;
    }
}
